84 #define FXLS896x_DEVICE_ADDRESS_SA0_0 (0x18) 85 #define FXLS896x_DEVICE_ADDRESS_SA0_1 (0x19) 86 #define FXLS896x_WHOAMI_VALUE (0x62) 87 #define FXLS8964_WHOAMI_VALUE (0x84) 88 #define FXLS8967_WHOAMI_VALUE (0x87) 89 #define FXLS8974_WHOAMI_VALUE (0x86) 90 #define FXLS896x_TBOOT_MAX 20 125 #define FXLS896x_INT_STATUS_SRC_BOOT_MASK ((uint8_t)0x01) 126 #define FXLS896x_INT_STATUS_SRC_BOOT_SHIFT ((uint8_t)0) 128 #define FXLS896x_INT_STATUS_SRC_ASLP_MASK ((uint8_t)0x02) 129 #define FXLS896x_INT_STATUS_SRC_ASLP_SHIFT ((uint8_t)1) 131 #define FXLS896x_INT_STATUS_SRC_ORIENT_MASK ((uint8_t)0x04) 132 #define FXLS896x_INT_STATUS_SRC_ORIENT_SHIFT ((uint8_t)2) 134 #define FXLS896x_INT_STATUS_SRC_SDCD_WT_MASK ((uint8_t)0x08) 135 #define FXLS896x_INT_STATUS_SRC_SDCD_WT_SHIFT ((uint8_t)3) 137 #define FXLS896x_INT_STATUS_SRC_SDCD_OT_MASK ((uint8_t)0x10) 138 #define FXLS896x_INT_STATUS_SRC_SDCD_OT_SHIFT ((uint8_t)4) 140 #define FXLS896x_INT_STATUS_SRC_BUF_MASK ((uint8_t)0x20) 141 #define FXLS896x_INT_STATUS_SRC_BUF_SHIFT ((uint8_t)5) 143 #define FXLS896x_INT_STATUS_SRC_OVF_MASK ((uint8_t)0x40) 144 #define FXLS896x_INT_STATUS_SRC_OVF_SHIFT ((uint8_t)6) 146 #define FXLS896x_INT_STATUS_SRC_DRDY_MASK ((uint8_t)0x80) 147 #define FXLS896x_INT_STATUS_SRC_DRDY_SHIFT ((uint8_t)7) 245 #define FXLS896x_BUF_STATUS_BUF_CNT_MASK ((uint8_t) 0x3F) 246 #define FXLS896x_BUF_STATUS_BUF_CNT_SHIFT ((uint8_t) 0) 248 #define FXLS896x_BUF_STATUS_BUF_OVF_MASK ((uint8_t) 0x40) 249 #define FXLS896x_BUF_STATUS_BUF_OVF_SHIFT ((uint8_t) 6) 251 #define FXLS896x_BUF_STATUS_BUF_WMRK_MASK ((uint8_t) 0x80) 252 #define FXLS896x_BUF_STATUS_BUF_WMRK_SHIFT ((uint8_t) 7) 332 #define FXLS896x_PROD_REV_PROD_REV_MIN_MASK ((uint8_t)0x0F) 333 #define FXLS896x_PROD_REV_PROD_REV_MIN_SHIFT ((uint8_t)0) 335 #define FXLS896x_PROD_REV_PROD_REV_MAJ_MASK ((uint8_t)0xF0) 336 #define FXLS896x_PROD_REV_PROD_REV_MAJ_SHIFT ((uint8_t)4) 369 #define FXLS896x_SYS_MODE_BUF_GATE_ERROR_MASK ((uint8_t)0x03) 370 #define FXLS896x_SYS_MODE_BUF_GATE_ERROR_SHIFT ((uint8_t)0) 372 #define FXLS896x_SYS_MODE_BUF_GATE_CNT_MASK ((uint8_t)0x7C) 373 #define FXLS896x_SYS_MODE_BUF_GATE_CNT_SHIFT ((uint8_t)2) 375 #define FXLS896x_SYS_MODE_SYS_MODE_MASK ((uint8_t)0x80) 376 #define FXLS896x_SYS_MODE_SYS_MODE_SHIFT ((uint8_t)7) 381 #define FXLS896x_SYS_MODE_BUF_GARE_ERROR_NO ((uint8_t)0x00) 382 #define FXLS896x_SYS_MODE_BUF_GARE_ERROR_YES ((uint8_t)0x80) 383 #define FXLS896x_SYS_MODE_SYS_MODE_STANDBY ((uint8_t)0x00) 384 #define FXLS896x_SYS_MODE_SYS_MODE_WAKE ((uint8_t)0x01) 385 #define FXLS896x_SYS_MODE_SYS_MODE_SLEEP ((uint8_t)0x02) 386 #define FXLS896x_SYS_MODE_SYS_MODE_EXT_TRIG ((uint8_t)0x03) 419 #define FXLS896x_SENS_CONFIG1_ACTIVE_MASK ((uint8_t)0x01) 420 #define FXLS896x_SENS_CONFIG1_ACTIVE_SHIFT ((uint8_t)0) 422 #define FXLS896x_SENS_CONFIG1_FSR_MASK ((uint8_t)0x06) 423 #define FXLS896x_SENS_CONFIG1_FSR_SHIFT ((uint8_t)1) 425 #define FXLS896x_SENS_CONFIG1_SPI_M_MASK ((uint8_t)0x08) 426 #define FXLS896x_SENS_CONFIG1_SPI_M_SHIFT ((uint8_t)3) 428 #define FXLS896x_SENS_CONFIG1_ST_POL_MASK ((uint8_t)0x10) 429 #define FXLS896x_SENS_CONFIG1_ST_POL_SHIFT ((uint8_t)4) 431 #define FXLS896x_SENS_CONFIG1_ST_AXIS_SEL_MASK ((uint8_t)0x60) 432 #define FXLS896x_SENS_CONFIG1_ST_AXIS_SEL_SHIFT ((uint8_t)5) 434 #define FXLS896x_SENS_CONFIG1_RST_MASK ((uint8_t)0x80) 435 #define FXLS896x_SENS_CONFIG1_RST_SHIFT ((uint8_t)7) 440 #define FXLS896x_SENS_CONFIG1_RST_RST ((uint8_t)0x80) 441 #define FXLS896x_SENS_CONFIG1_ST_AXIS_SEL_DISABLED \ 443 #define FXLS896x_SENS_CONFIG1_ST_AXIS_SEL_EN_X ((uint8_t)0x20) 444 #define FXLS896x_SENS_CONFIG1_ST_AXIS_SEL_EN_Y ((uint8_t)0x40) 445 #define FXLS896x_SENS_CONFIG1_ST_AXIS_SEL_EN_Z ((uint8_t)0x60) 446 #define FXLS896x_SENS_CONFIG1_ST_POL_POSITIVE ((uint8_t)0x00) 448 #define FXLS896x_SENS_CONFIG1_ST_POL_NEGATIVE ((uint8_t)0x10) 450 #define FXLS896x_SENS_CONFIG1_SPI_M_FOUR ((uint8_t)0x00) 451 #define FXLS896x_SENS_CONFIG1_SPI_M_THREE ((uint8_t)0x08) 452 #define FXLS896x_SENS_CONFIG1_FSR_2G ((uint8_t)0x00) 454 #define FXLS896x_SENS_CONFIG1_FSR_4G ((uint8_t)0x02) 456 #define FXLS896x_SENS_CONFIG1_FSR_8G ((uint8_t)0x04) 458 #define FXLS896x_SENS_CONFIG1_FSR_16G ((uint8_t)0x06) 460 #define FXLS896x_SENS_CONFIG1_ACTIVE_STANDBY ((uint8_t)0x00) 461 #define FXLS896x_SENS_CONFIG1_ACTIVE_ACTIVE ((uint8_t)0x01) 492 #define FXLS896x_SENS_CONFIG2_F_READ_MASK ((uint8_t)0x01) 493 #define FXLS896x_SENS_CONFIG2_F_READ_SHIFT ((uint8_t)0) 495 #define FXLS896x_SENS_CONFIG2_ANIC_TEMP_MASK ((uint8_t)0x02) 496 #define FXLS896x_SENS_CONFIG2_ANIC_TEMP_SHIFT ((uint8_t)1) 498 #define FXLS896x_SENS_CONFIG2_LE_BE_MASK ((uint8_t)0x08) 499 #define FXLS896x_SENS_CONFIG2_LE_BE_SHIFT ((uint8_t)3) 501 #define FXLS896x_SENS_CONFIG2_SLEEP_PM_MASK ((uint8_t)0x30) 502 #define FXLS896x_SENS_CONFIG2_SLEEP_PM_SHIFT ((uint8_t)4) 504 #define FXLS896x_SENS_CONFIG2_WAKE_PM_MASK ((uint8_t)0xC0) 505 #define FXLS896x_SENS_CONFIG2_WAKE_PM_SHIFT ((uint8_t)6) 510 #define FXLS896x_SENS_CONFIG2_WAKE_PM_LOW_POWER ((uint8_t)0x00) 511 #define FXLS896x_SENS_CONFIG2_WAKE_PM_HIGH_PERF ((uint8_t)0x40) 512 #define FXLS896x_SENS_CONFIG2_WAKE_PM_FLEX_PERF ((uint8_t)0x80) 513 #define FXLS896x_SENS_CONFIG2_SLEEP_PM_LOW_POWER ((uint8_t)0x00) 514 #define FXLS896x_SENS_CONFIG2_SLEEP_PM_HIGH_PERF ((uint8_t)0x10) 515 #define FXLS896x_SENS_CONFIG2_SLEEP_PM_FLEX_PERF ((uint8_t)0x20) 516 #define FXLS896x_SENS_CONFIG2_LE_BE_LE ((uint8_t)0x00) 517 #define FXLS896x_SENS_CONFIG2_LE_BE_BE ((uint8_t)0x08) 518 #define FXLS896x_SENS_CONFIG2_ANIC_TEMP_DIS ((uint8_t)0x00) 520 #define FXLS896x_SENS_CONFIG2_ANIC_TEMP_EN ((uint8_t)0x02) 522 #define FXLS896x_SENS_CONFIG2_F_READ_NORMAL ((uint8_t)0x00) 523 #define FXLS896x_SENS_CONFIG2_F_READ_FAST ((uint8_t)0x01) 547 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_MASK ((uint8_t)0x0F) 548 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_SHIFT ((uint8_t)0) 550 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_MASK ((uint8_t)0xF0) 551 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_SHIFT ((uint8_t)4) 556 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_3200HZ ((uint8_t)0x00) 557 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_1600HZ ((uint8_t)0x10) 558 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_800HZ ((uint8_t)0x20) 559 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_400HZ ((uint8_t)0x30) 560 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_200HZ ((uint8_t)0x40) 561 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_100HZ ((uint8_t)0x50) 562 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_50HZ ((uint8_t)0x60) 563 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_25HZ ((uint8_t)0x70) 564 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_12_5HZ ((uint8_t)0x80) 565 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_6_25HZ ((uint8_t)0x90) 566 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_3_125HZ ((uint8_t)0xa0) 567 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_1_563HZ ((uint8_t)0xb0) 568 #define FXLS896x_SENS_CONFIG3_WAKE_ODR_0_781HZ ((uint8_t)0xc0) 569 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_3200HZ ((uint8_t)0x00) 570 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_1600HZ ((uint8_t)0x01) 571 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_800HZ ((uint8_t)0x02) 572 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_400HZ ((uint8_t)0x03) 573 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_200HZ ((uint8_t)0x04) 574 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_100HZ ((uint8_t)0x05) 575 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_50HZ ((uint8_t)0x06) 576 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_25HZ ((uint8_t)0x07) 577 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_12_5HZ ((uint8_t)0x08) 578 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_6_25HZ ((uint8_t)0x09) 579 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_3_125HZ ((uint8_t)0x0a) 580 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_1_563HZ ((uint8_t)0x0b) 581 #define FXLS896x_SENS_CONFIG3_SLEEP_ODR_0_781HZ ((uint8_t)0x0c) 617 #define FXLS896x_SENS_CONFIG4_INT_POL_MASK ((uint8_t)0x01) 618 #define FXLS896x_SENS_CONFIG4_INT_POL_SHIFT ((uint8_t)0) 620 #define FXLS896x_SENS_CONFIG4_INT_PP_OD_MASK ((uint8_t)0x02) 621 #define FXLS896x_SENS_CONFIG4_INT_PP_OD_SHIFT ((uint8_t)1) 623 #define FXLS896x_SENS_CONFIG4_INT2_FUNC_MASK ((uint8_t)0x04) 624 #define FXLS896x_SENS_CONFIG4_INT2_FUNC_SHIFT ((uint8_t)2) 626 #define FXLS896x_SENS_CONFIG4_DRDY_PUL_MASK ((uint8_t)0x08) 627 #define FXLS896x_SENS_CONFIG4_DRDY_PUL_SHIFT ((uint8_t)3) 629 #define FXLS896x_SENS_CONFIG4_WK_ORIENT_MASK ((uint8_t)0x10) 630 #define FXLS896x_SENS_CONFIG4_WK_ORIENT_SHIFT ((uint8_t)4) 632 #define FXLS896x_SENS_CONFIG4_WK_SDCD_OT_MASK ((uint8_t)0x20) 633 #define FXLS896x_SENS_CONFIG4_WK_SDCD_OT_SHIFT ((uint8_t)5) 635 #define FXLS896x_SENS_CONFIG4_WK_SDCD_WT_MASK ((uint8_t)0x40) 636 #define FXLS896x_SENS_CONFIG4_WK_SDCD_WT_SHIFT ((uint8_t)6) 638 #define FXLS896x_SENS_CONFIG4_EXT_TRIG_M_MASK ((uint8_t)0x80) 639 #define FXLS896x_SENS_CONFIG4_EXT_TRIG_M_SHIFT ((uint8_t)7) 644 #define FXLS896x_SENS_CONFIG4_EXT_TRIG_M_SINGLE ((uint8_t)0x00) 646 #define FXLS896x_SENS_CONFIG4_EXT_TRIG_M_MULTIPLE ((uint8_t)0x80) 648 #define FXLS896x_SENS_CONFIG4_WK_SDCD_WT_DIS ((uint8_t)0x00) 650 #define FXLS896x_SENS_CONFIG4_WK_SDCD_WT_EN ((uint8_t)0x40) 652 #define FXLS896x_SENS_CONFIG4_WK_SDCD_OT_DIS ((uint8_t)0x00) 654 #define FXLS896x_SENS_CONFIG4_WK_SDCD_OT_EN ((uint8_t)0x20) 657 #define FXLS896x_SENS_CONFIG4_WK_ORIENT_DIS ((uint8_t)0x00) 660 #define FXLS896x_SENS_CONFIG4_WK_ORIENT_EN ((uint8_t)0x10) 663 #define FXLS896x_SENS_CONFIG4_DRDY_PUL_DIS ((uint8_t)0x00) 665 #define FXLS896x_SENS_CONFIG4_DRDY_PUL_EN ((uint8_t)0x08) 667 #define FXLS896x_SENS_CONFIG4_INT2_FUNC_INT2 ((uint8_t)0x00) 669 #define FXLS896x_SENS_CONFIG4_INT2_FUNC_EXT_TRIG \ 673 #define FXLS896x_SENS_CONFIG4_INT_PP_OD_PUSH_PULL ((uint8_t)0x00) 674 #define FXLS896x_SENS_CONFIG4_INT_PP_OD_OPEN_DRAIN \ 677 #define FXLS896x_SENS_CONFIG4_INT_POL_ACT_LOW ((uint8_t)0x00) 679 #define FXLS896x_SENS_CONFIG4_INT_POL_ACT_HIGH ((uint8_t)0x01) 710 #define FXLS896x_SENS_CONFIG5_HIBERNATE_EN_MASK ((uint8_t)0x01) 711 #define FXLS896x_SENS_CONFIG5_HIBERNATE_EN_SHIFT ((uint8_t)0) 713 #define FXLS896x_SENS_CONFIG5_Z_DIS_MASK ((uint8_t)0x02) 714 #define FXLS896x_SENS_CONFIG5_Z_DIS_SHIFT ((uint8_t)1) 716 #define FXLS896x_SENS_CONFIG5_Y_DIS_MASK ((uint8_t)0x04) 717 #define FXLS896x_SENS_CONFIG5_Y_DIS_SHIFT ((uint8_t)2) 719 #define FXLS896x_SENS_CONFIG5_X_DIS_MASK ((uint8_t)0x08) 720 #define FXLS896x_SENS_CONFIG5_X_DIS_SHIFT ((uint8_t)3) 722 #define FXLS896x_SENS_CONFIG5_VECM_EN_MASK ((uint8_t)0x10) 723 #define FXLS896x_SENS_CONFIG5_VECM_EN_SHIFT ((uint8_t)4) 728 #define FXLS896x_SENS_CONFIG5_VECM_EN_DIS ((uint8_t)0x00) 730 #define FXLS896x_SENS_CONFIG5_VECM_EN_EN ((uint8_t)0x10) 732 #define FXLS896x_SENS_CONFIG5_X_DIS_EN ((uint8_t)0x00) 734 #define FXLS896x_SENS_CONFIG5_X_DIS_DIS ((uint8_t)0x08) 736 #define FXLS896x_SENS_CONFIG5_Y_DIS_EN ((uint8_t)0x00) 738 #define FXLS896x_SENS_CONFIG5_Y_DIS_DIS ((uint8_t)0x04) 740 #define FXLS896x_SENS_CONFIG5_Z_DIS_EN ((uint8_t)0x00) 742 #define FXLS896x_SENS_CONFIG5_Z_DIS_DIS ((uint8_t)0x02) 744 #define FXLS896x_SENS_CONFIG5_HIBERNATE_EN_DIS ((uint8_t)0x00) 745 #define FXLS896x_SENS_CONFIG5_HIBERNATE_EN_EN ((uint8_t)0x01) 828 #define FXLS896x_INT_EN_WAKE_OUT_EN_MASK ((uint8_t)0x01) 829 #define FXLS896x_INT_EN_WAKE_OUT_EN_SHIFT ((uint8_t)0) 831 #define FXLS896x_INT_EN_BOOT_DIS_MASK ((uint8_t)0x02) 832 #define FXLS896x_INT_EN_BOOT_DIS_SHIFT ((uint8_t)1) 834 #define FXLS896x_INT_EN_ASLP_EN_MASK ((uint8_t)0x04) 835 #define FXLS896x_INT_EN_ASLP_EN_SHIFT ((uint8_t)2) 837 #define FXLS896x_INT_EN_ORIENT_EN_MASK ((uint8_t)0x08) 838 #define FXLS896x_INT_EN_ORIENT_EN_SHIFT ((uint8_t)3) 840 #define FXLS896x_INT_EN_SDCD_WT_EN_MASK ((uint8_t)0x10) 841 #define FXLS896x_INT_EN_SDCD_WT_EN_SHIFT ((uint8_t)4) 843 #define FXLS896x_INT_EN_SDCD_OT_EN_MASK ((uint8_t)0x20) 844 #define FXLS896x_INT_EN_SDCD_OT_EN_SHIFT ((uint8_t)5) 846 #define FXLS896x_INT_EN_BUF_EN_MASK ((uint8_t)0x40) 847 #define FXLS896x_INT_EN_BUF_EN_SHIFT ((uint8_t)6) 849 #define FXLS896x_INT_EN_DRDY_EN_MASK ((uint8_t)0x80) 850 #define FXLS896x_INT_EN_DRDY_EN_SHIFT ((uint8_t)7) 855 #define FXLS896x_INT_EN_DRDY_EN_DIS ((uint8_t)0x00) 856 #define FXLS896x_INT_EN_DRDY_EN_EN ((uint8_t)0x80) 857 #define FXLS896x_INT_EN_BUF_EN_DIS ((uint8_t)0x00) 858 #define FXLS896x_INT_EN_BUF_EN_EN ((uint8_t)0x40) 859 #define FXLS896x_INT_EN_SDCD_OT_EN_DIS ((uint8_t)0x00) 860 #define FXLS896x_INT_EN_SDCD_OT_EN_EN ((uint8_t)0x20) 861 #define FXLS896x_INT_EN_SDCD_WT_EN_DIS ((uint8_t)0x00) 862 #define FXLS896x_INT_EN_SDCD_WT_EN_EN ((uint8_t)0x10) 863 #define FXLS896x_INT_EN_ORIENT_EN_DIS ((uint8_t)0x00) 864 #define FXLS896x_INT_EN_ORIENT_EN_EN ((uint8_t)0x08) 866 #define FXLS896x_INT_EN_ASLP_EN_DIS ((uint8_t)0x00) 867 #define FXLS896x_INT_EN_ASLP_EN_EN ((uint8_t)0x04) 869 #define FXLS896x_INT_EN_BOOT_DIS_EN ((uint8_t)0x00) 871 #define FXLS896x_INT_EN_BOOT_DIS_DIS ((uint8_t)0x02) 873 #define FXLS896x_INT_EN_WAKE_OUT_EN_DIS ((uint8_t)0x00) 875 #define FXLS896x_INT_EN_WAKE_OUT_EN_EN ((uint8_t)0x01) 912 #define FXLS896x_INT_PIN_SEL_WK_OUT_INT2_MASK ((uint8_t)0x01) 913 #define FXLS896x_INT_PIN_SEL_WK_OUT_INT2_SHIFT ((uint8_t)0) 915 #define FXLS896x_INT_PIN_SEL_BOOT_INT2_MASK ((uint8_t)0x02) 916 #define FXLS896x_INT_PIN_SEL_BOOT_INT2_SHIFT ((uint8_t)1) 918 #define FXLS896x_INT_PIN_SEL_ASLP_INT2_MASK ((uint8_t)0x04) 919 #define FXLS896x_INT_PIN_SEL_ASLP_INT2_SHIFT ((uint8_t)2) 921 #define FXLS896x_INT_PIN_SEL_ORIENT_INT2_MASK ((uint8_t)0x08) 922 #define FXLS896x_INT_PIN_SEL_ORIENT_INT2_SHIFT ((uint8_t)3) 924 #define FXLS896x_INT_PIN_SEL_SDCD_WT_INT2_MASK ((uint8_t)0x10) 925 #define FXLS896x_INT_PIN_SEL_SDCD_WT_INT2_SHIFT ((uint8_t)4) 927 #define FXLS896x_INT_PIN_SEL_SDCD_OT_INT2_MASK ((uint8_t)0x20) 928 #define FXLS896x_INT_PIN_SEL_SDCD_OT_INT2_SHIFT ((uint8_t)5) 930 #define FXLS896x_INT_PIN_SEL_BUF_INT2_MASK ((uint8_t)0x40) 931 #define FXLS896x_INT_PIN_SEL_BUF_INT2_SHIFT ((uint8_t)6) 933 #define FXLS896x_INT_PIN_SEL_DRDY_INT2_MASK ((uint8_t)0x80) 934 #define FXLS896x_INT_PIN_SEL_DRDY_INT2_SHIFT ((uint8_t)7) 939 #define FXLS896x_INT_PIN_SEL_DRDY_INT2_DIS ((uint8_t)0x00) 941 #define FXLS896x_INT_PIN_SEL_DRDY_INT2_EN ((uint8_t)0x80) 943 #define FXLS896x_INT_PIN_SEL_BUF_INT2_DIS ((uint8_t)0x00) 945 #define FXLS896x_INT_PIN_SEL_BUF_INT2_EN ((uint8_t)0x40) 947 #define FXLS896x_INT_PIN_SEL_SDCD_OT_INT2_DIS ((uint8_t)0x00) 949 #define FXLS896x_INT_PIN_SEL_SDCD_OT_INT2_EN ((uint8_t)0x20) 951 #define FXLS896x_INT_PIN_SEL_SDCD_WT_INT2_DIS ((uint8_t)0x00) 953 #define FXLS896x_INT_PIN_SEL_SDCD_WT_INT2_EN ((uint8_t)0x10) 955 #define FXLS896x_INT_PIN_SEL_ORIENT_INT2_DIS ((uint8_t)0x00) 957 #define FXLS896x_INT_PIN_SEL_ORIENT_INT2_EN ((uint8_t)0x08) 959 #define FXLS896x_INT_PIN_SEL_ASLP_INT2_DIS ((uint8_t)0x00) 961 #define FXLS896x_INT_PIN_SEL_ASLP_INT2_EN ((uint8_t)0x04) 963 #define FXLS896x_INT_PIN_SEL_BOOT_INT2_DIS ((uint8_t)0x00) 965 #define FXLS896x_INT_PIN_SEL_BOOT_INT2_EN ((uint8_t)0x02) 967 #define FXLS896x_INT_PIN_SEL_WK_OUT_INT2_DIS ((uint8_t)0x00) 969 #define FXLS896x_INT_PIN_SEL_WK_OUT_INT2_EN ((uint8_t)0x01) 1028 #define FXLS896x_BUF_CONFIG1_TRG_ORIENT_MASK ((uint8_t) 0x01) 1029 #define FXLS896x_BUF_CONFIG1_TRG_ORIENT_SHIFT ((uint8_t) 0) 1031 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_OT_MASK ((uint8_t) 0x04) 1032 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_OT_SHIFT ((uint8_t) 2) 1034 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_WT_MASK ((uint8_t) 0x08) 1035 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_WT_SHIFT ((uint8_t) 3) 1037 #define FXLS896x_BUF_CONFIG1_BUF_GATE_MASK ((uint8_t) 0x10) 1038 #define FXLS896x_BUF_CONFIG1_BUF_GATE_SHIFT ((uint8_t) 4) 1040 #define FXLS896x_BUF_CONFIG1_BUF_MODE_MASK ((uint8_t) 0x60) 1041 #define FXLS896x_BUF_CONFIG1_BUF_MODE_SHIFT ((uint8_t) 5) 1043 #define FXLS896x_BUF_CONFIG1_BUF_TYPE_MASK ((uint8_t) 0x80) 1044 #define FXLS896x_BUF_CONFIG1_BUF_TYPE_SHIFT ((uint8_t) 7) 1050 #define FXLS896x_BUF_CONFIG1_BUF_TYPE_FIFO ((uint8_t) 0x00) 1051 #define FXLS896x_BUF_CONFIG1_BUF_TYPE_FILO ((uint8_t) 0x80) 1052 #define FXLS896x_BUF_CONFIG1_BUF_MODE_DIS ((uint8_t) 0x00) 1053 #define FXLS896x_BUF_CONFIG1_BUF_MODE_STREAM_MODE ((uint8_t) 0x20) 1054 #define FXLS896x_BUF_CONFIG1_BUF_MODE_STOP_MODE ((uint8_t) 0x40) 1055 #define FXLS896x_BUF_CONFIG1_BUF_MODE_TRIGGER_MODE ((uint8_t) 0x60) 1056 #define FXLS896x_BUF_CONFIG1_BUF_GATE_BY_PASSED ((uint8_t) 0x00) 1057 #define FXLS896x_BUF_CONFIG1_BUF_GATE_ENABLED ((uint8_t) 0x10) 1058 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_WT_DIS ((uint8_t) 0x00) 1059 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_WT_EN ((uint8_t) 0x08) 1060 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_OT_DIS ((uint8_t) 0x00) 1061 #define FXLS896x_BUF_CONFIG1_TRG_SDCD_OT_EN ((uint8_t) 0x04) 1062 #define FXLS896x_BUF_CONFIG1_TRG_ORIENT_DIS ((uint8_t) 0x00) 1063 #define FXLS896x_BUF_CONFIG1_TRG_ORIENT_EN ((uint8_t) 0x01) 1090 #define FXLS896x_BUF_CONFIG2_BUF_WMRK_MASK ((uint8_t) 0x3F) 1091 #define FXLS896x_BUF_CONFIG2_BUF_WMRK_SHIFT ((uint8_t) 0) 1093 #define FXLS896x_BUF_CONFIG2_WAKE_SRC_BUF_MASK ((uint8_t) 0x40) 1094 #define FXLS896x_BUF_CONFIG2_WAKE_SRC_BUF_SHIFT ((uint8_t) 6) 1096 #define FXLS896x_BUF_CONFIG2_BUF_FLUSH_MASK ((uint8_t) 0x80) 1097 #define FXLS896x_BUF_CONFIG2_BUF_FLUSH_SHIFT ((uint8_t) 7) 1103 #define FXLS896x_BUF_CONFIG2_BUF_FLUSH_COMPLETED ((uint8_t) 0x00) 1104 #define FXLS896x_BUF_CONFIG2_BUF_FLUSH_EN ((uint8_t) 0x80) 1105 #define FXLS896x_BUF_CONFIG2_WAKE_SRC_BUF_IGNORED ((uint8_t) 0x00) 1107 #define FXLS896x_BUF_CONFIG2_WAKE_SRC_BUF_EN ((uint8_t) 0x40) 1137 #define FXLS896x_ORIENT_STATUS_BAFRO_MASK ((uint8_t)0x01) 1138 #define FXLS896x_ORIENT_STATUS_BAFRO_SHIFT ((uint8_t)0) 1140 #define FXLS896x_ORIENT_STATUS_LAPO_MASK ((uint8_t)0x06) 1141 #define FXLS896x_ORIENT_STATUS_LAPO_SHIFT ((uint8_t)1) 1143 #define FXLS896x_ORIENT_STATUS_LO_MASK ((uint8_t)0x40) 1144 #define FXLS896x_ORIENT_STATUS_LO_SHIFT ((uint8_t)6) 1146 #define FXLS896x_ORIENT_STATUS_NEW_ORIENT_MASK ((uint8_t)0x80) 1147 #define FXLS896x_ORIENT_STATUS_NEW_ORIENT_SHIFT ((uint8_t)7) 1152 #define FXLS896x_ORIENT_STATUS_NEW_ORIENT_NO_CHANGE \ 1154 #define FXLS896x_ORIENT_STATUS_NEW_ORIENT_CHANGED ((uint8_t)0x80) 1156 #define FXLS896x_ORIENT_STATUS_LO_NOT_DETECTED ((uint8_t)0x00) 1157 #define FXLS896x_ORIENT_STATUS_LO_DETECTED ((uint8_t)0x40) 1159 #define FXLS896x_ORIENT_STATUS_LAPO_UP ((uint8_t)0x00) 1160 #define FXLS896x_ORIENT_STATUS_LAPO_DOWN ((uint8_t)0x02) 1161 #define FXLS896x_ORIENT_STATUS_LAPO_RIGHT ((uint8_t)0x04) 1162 #define FXLS896x_ORIENT_STATUS_LAPO_LEFT ((uint8_t)0x06) 1163 #define FXLS896x_ORIENT_STATUS_BAFRO_FRONT ((uint8_t)0x00) 1164 #define FXLS896x_ORIENT_STATUS_BAFRO_BACK ((uint8_t)0x01) 1189 #define FXLS896x_ORIENT_CONFIG_ORIENT_ENABLE_MASK ((uint8_t)0x40) 1190 #define FXLS896x_ORIENT_CONFIG_ORIENT_ENABLE_SHIFT ((uint8_t)6) 1192 #define FXLS896x_ORIENT_CONFIG_ORIENT_DBCNTM_MASK ((uint8_t)0x80) 1193 #define FXLS896x_ORIENT_CONFIG_ORIENT_DBCNTM_SHIFT ((uint8_t)7) 1198 #define FXLS896x_ORIENT_CONFIG_ORIENT_DBCNTM_DEC ((uint8_t)0x00) 1201 #define FXLS896x_ORIENT_CONFIG_ORIENT_DBCNTM_CLR ((uint8_t)0x80) 1204 #define FXLS896x_ORIENT_CONFIG_ORIENT_ENABLE_DIS ((uint8_t)0x00) 1205 #define FXLS896x_ORIENT_CONFIG_ORIENT_ENABLE_EN ((uint8_t)0x40) 1238 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_MASK ((uint8_t)0x07) 1239 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_SHIFT ((uint8_t)0) 1241 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_BKFR_MASK ((uint8_t)0xC0) 1242 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_BKFR_SHIFT ((uint8_t)6) 1247 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_BKFR_BF_80_280_FB_100_260 \ 1251 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_BKFR_BF_75_285_FB_105_255 \ 1255 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_BKFR_BF_70_290_FB_110_250 \ 1259 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_BKFR_BF_65_295_FB_115_245 \ 1263 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_13_6 ((uint8_t)0x00) 1264 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_17_1 ((uint8_t)0x01) 1265 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_20_7 ((uint8_t)0x02) 1266 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_24_4 ((uint8_t)0x03) 1267 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_28_1 ((uint8_t)0x04) 1268 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_32_0 ((uint8_t)0x05) 1269 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_36_1 ((uint8_t)0x06) 1270 #define FXLS896x_ORIENT_BF_ZCOMP_ORIENT_ZLOCK_40_4 ((uint8_t)0x07) 1294 #define FXLS896x_ORIENT_THS_REG_HYS_MASK ((uint8_t)0x07) 1295 #define FXLS896x_ORIENT_THS_REG_HYS_SHIFT ((uint8_t)0) 1297 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_MASK ((uint8_t)0xF8) 1298 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_SHIFT ((uint8_t)3) 1303 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_0_0 ((uint8_t)0x00) 1304 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_1_8 ((uint8_t)0x08) 1305 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_3_8 ((uint8_t)0x10) 1306 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_5_9 ((uint8_t)0x18) 1307 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_8_1 ((uint8_t)0x20) 1308 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_10_5 ((uint8_t)0x28) 1309 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_13_0 ((uint8_t)0x30) 1310 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_15_6 ((uint8_t)0x38) 1311 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_18_4 ((uint8_t)0x40) 1312 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_21_4 ((uint8_t)0x48) 1313 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_24_4 ((uint8_t)0x50) 1314 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_27_6 ((uint8_t)0x58) 1315 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_31_0 ((uint8_t)0x60) 1316 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_34_4 ((uint8_t)0x68) 1317 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_37_9 ((uint8_t)0x70) 1318 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_41_4 ((uint8_t)0x78) 1319 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_45_0 ((uint8_t)0x80) 1320 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_48_6 ((uint8_t)0x88) 1321 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_52_1 ((uint8_t)0x90) 1322 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_55_6 ((uint8_t)0x98) 1323 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_59_0 ((uint8_t)0xa0) 1324 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_62_4 ((uint8_t)0xa8) 1325 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_65_6 ((uint8_t)0xb0) 1326 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_68_6 ((uint8_t)0xb8) 1327 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_71_6 ((uint8_t)0xc0) 1328 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_74_4 ((uint8_t)0xc8) 1329 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_77_0 ((uint8_t)0xd0) 1330 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_79_5 ((uint8_t)0xd8) 1331 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_81_9 ((uint8_t)0xe0) 1332 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_84_1 ((uint8_t)0xe8) 1333 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_86_2 ((uint8_t)0xf0) 1334 #define FXLS896x_ORIENT_THS_REG_ORIENT_THS_88_2 ((uint8_t)0xf8) 1335 #define FXLS896x_ORIENT_THS_REG_HYS_45_45 ((uint8_t)0x00) 1336 #define FXLS896x_ORIENT_THS_REG_HYS_49_41 ((uint8_t)0x01) 1337 #define FXLS896x_ORIENT_THS_REG_HYS_52_38 ((uint8_t)0x02) 1338 #define FXLS896x_ORIENT_THS_REG_HYS_56_34 ((uint8_t)0x03) 1339 #define FXLS896x_ORIENT_THS_REG_HYS_59_31 ((uint8_t)0x04) 1340 #define FXLS896x_ORIENT_THS_REG_HYS_62_28 ((uint8_t)0x05) 1341 #define FXLS896x_ORIENT_THS_REG_HYS_66_24 ((uint8_t)0x06) 1342 #define FXLS896x_ORIENT_THS_REG_HYS_69_21 ((uint8_t)0x07) 1377 #define FXLS896x_SDCD_INT_SRC1_Z_OT_POL_MASK ((uint8_t)0x01) 1378 #define FXLS896x_SDCD_INT_SRC1_Z_OT_POL_SHIFT ((uint8_t)0) 1380 #define FXLS896x_SDCD_INT_SRC1_Z_OT_EF_MASK ((uint8_t)0x02) 1381 #define FXLS896x_SDCD_INT_SRC1_Z_OT_EF_SHIFT ((uint8_t)1) 1383 #define FXLS896x_SDCD_INT_SRC1_Y_OT_POL_MASK ((uint8_t)0x04) 1384 #define FXLS896x_SDCD_INT_SRC1_Y_OT_POL_SHIFT ((uint8_t)2) 1386 #define FXLS896x_SDCD_INT_SRC1_Y_OT_EF_MASK ((uint8_t)0x08) 1387 #define FXLS896x_SDCD_INT_SRC1_Y_OT_EF_SHIFT ((uint8_t)3) 1389 #define FXLS896x_SDCD_INT_SRC1_X_OT_POL_MASK ((uint8_t)0x10) 1390 #define FXLS896x_SDCD_INT_SRC1_X_OT_POL_SHIFT ((uint8_t)4) 1392 #define FXLS896x_SDCD_INT_SRC1_X_OT_EF_MASK ((uint8_t)0x20) 1393 #define FXLS896x_SDCD_INT_SRC1_X_OT_EF_SHIFT ((uint8_t)5) 1395 #define FXLS896x_SDCD_INT_SRC1_OT_EA_MASK ((uint8_t)0x80) 1396 #define FXLS896x_SDCD_INT_SRC1_OT_EA_SHIFT ((uint8_t)7) 1401 #define FXLS896x_SDCD_INT_SRC1_OT_EA_INSIDE ((uint8_t)0x00) 1402 #define FXLS896x_SDCD_INT_SRC1_OT_EA_OUTSIDE ((uint8_t)0x80) 1403 #define FXLS896x_SDCD_INT_SRC1_X_OT_EF_EVENT_NO ((uint8_t)0x00) 1404 #define FXLS896x_SDCD_INT_SRC1_X_OT_EF_EVENT_YES ((uint8_t)0x20) 1405 #define FXLS896x_SDCD_INT_SRC1_X_OT_POL_LT_THS ((uint8_t)0x00) 1406 #define FXLS896x_SDCD_INT_SRC1_X_OT_POL_GT_THS ((uint8_t)0x10) 1407 #define FXLS896x_SDCD_INT_SRC1_Y_OT_EF_EVENT_NO ((uint8_t)0x00) 1408 #define FXLS896x_SDCD_INT_SRC1_Y_OT_EF_EVENT_YES ((uint8_t)0x08) 1409 #define FXLS896x_SDCD_INT_SRC1_Y_OT_POL_LT_THS ((uint8_t)0x00) 1410 #define FXLS896x_SDCD_INT_SRC1_Y_OT_POL_GT_THS ((uint8_t)0x04) 1411 #define FXLS896x_SDCD_INT_SRC1_Z_OT_EF_EVENT_NO ((uint8_t)0x00) 1412 #define FXLS896x_SDCD_INT_SRC1_Z_OT_EF_EVENT_YES ((uint8_t)0x02) 1413 #define FXLS896x_SDCD_INT_SRC1_Z_OT_POL_LT_THS ((uint8_t)0x00) 1414 #define FXLS896x_SDCD_INT_SRC1_Z_OT_POL_GT_THS ((uint8_t)0x01) 1446 #define FXLS896x_SDCD_INT_SRC2_Z_WT_EF_MASK ((uint8_t)0x02) 1447 #define FXLS896x_SDCD_INT_SRC2_Z_WT_EF_SHIFT ((uint8_t)1) 1449 #define FXLS896x_SDCD_INT_SRC2_Y_WT_EF_MASK ((uint8_t)0x08) 1450 #define FXLS896x_SDCD_INT_SRC2_Y_WT_EF_SHIFT ((uint8_t)3) 1452 #define FXLS896x_SDCD_INT_SRC2_X_WT_EF_MASK ((uint8_t)0x20) 1453 #define FXLS896x_SDCD_INT_SRC2_X_WT_EF_SHIFT ((uint8_t)5) 1455 #define FXLS896x_SDCD_INT_SRC2_WT_EA_MASK ((uint8_t)0x80) 1456 #define FXLS896x_SDCD_INT_SRC2_WT_EA_SHIFT ((uint8_t)7) 1461 #define FXLS896x_SDCD_INT_SRC2_WT_EA_EVENT_NO ((uint8_t)0x00) 1462 #define FXLS896x_SDCD_INT_SRC2_WT_EA_EVENT_YES ((uint8_t)0x80) 1463 #define FXLS896x_SDCD_INT_SRC2_X_WT_EF_IN_RANGE ((uint8_t)0x00) 1465 #define FXLS896x_SDCD_INT_SRC2_X_WT_EF_OUT_RANGE ((uint8_t)0x20) 1467 #define FXLS896x_SDCD_INT_SRC2_Y_WT_EF_IN_RANGE ((uint8_t)0x00) 1469 #define FXLS896x_SDCD_INT_SRC2_Y_WT_EF_OUT_RANGE ((uint8_t)0x08) 1471 #define FXLS896x_SDCD_INT_SRC2_Z_WT_EF_IN_RANGE ((uint8_t)0x00) 1473 #define FXLS896x_SDCD_INT_SRC2_Z_WT_EF_OUT_RANGE ((uint8_t)0x02) 1510 #define FXLS896x_SDCD_CONFIG1_Z_WT_EN_MASK ((uint8_t)0x01) 1511 #define FXLS896x_SDCD_CONFIG1_Z_WT_EN_SHIFT ((uint8_t)0) 1513 #define FXLS896x_SDCD_CONFIG1_Y_WT_EN_MASK ((uint8_t)0x02) 1514 #define FXLS896x_SDCD_CONFIG1_Y_WT_EN_SHIFT ((uint8_t)1) 1516 #define FXLS896x_SDCD_CONFIG1_X_WT_EN_MASK ((uint8_t)0x04) 1517 #define FXLS896x_SDCD_CONFIG1_X_WT_EN_SHIFT ((uint8_t)2) 1519 #define FXLS896x_SDCD_CONFIG1_Z_OT_EN_MASK ((uint8_t)0x08) 1520 #define FXLS896x_SDCD_CONFIG1_Z_OT_EN_SHIFT ((uint8_t)3) 1522 #define FXLS896x_SDCD_CONFIG1_Y_OT_EN_MASK ((uint8_t)0x10) 1523 #define FXLS896x_SDCD_CONFIG1_Y_OT_EN_SHIFT ((uint8_t)4) 1525 #define FXLS896x_SDCD_CONFIG1_X_OT_EN_MASK ((uint8_t)0x20) 1526 #define FXLS896x_SDCD_CONFIG1_X_OT_EN_SHIFT ((uint8_t)5) 1528 #define FXLS896x_SDCD_CONFIG1_WT_ELE_MASK ((uint8_t)0x40) 1529 #define FXLS896x_SDCD_CONFIG1_WT_ELE_SHIFT ((uint8_t)6) 1531 #define FXLS896x_SDCD_CONFIG1_OT_ELE_MASK ((uint8_t)0x80) 1532 #define FXLS896x_SDCD_CONFIG1_OT_ELE_SHIFT ((uint8_t)7) 1537 #define FXLS896x_SDCD_CONFIG1_OT_ELE_DIS ((uint8_t)0x00) 1539 #define FXLS896x_SDCD_CONFIG1_OT_ELE_EN ((uint8_t)0x80) 1541 #define FXLS896x_SDCD_CONFIG1_WT_ELE_DIS ((uint8_t)0x00) 1543 #define FXLS896x_SDCD_CONFIG1_WT_ELE_EN ((uint8_t)0x40) 1545 #define FXLS896x_SDCD_CONFIG1_X_OT_EN_DIS ((uint8_t)0x00) 1547 #define FXLS896x_SDCD_CONFIG1_X_OT_EN_EN ((uint8_t)0x20) 1549 #define FXLS896x_SDCD_CONFIG1_Y_OT_EN_DIS ((uint8_t)0x00) 1551 #define FXLS896x_SDCD_CONFIG1_Y_OT_EN_EN ((uint8_t)0x10) 1553 #define FXLS896x_SDCD_CONFIG1_Z_OT_EN_DIS ((uint8_t)0x00) 1555 #define FXLS896x_SDCD_CONFIG1_Z_OT_EN_EN ((uint8_t)0x08) 1557 #define FXLS896x_SDCD_CONFIG1_X_WT_EN_DIS ((uint8_t)0x00) 1559 #define FXLS896x_SDCD_CONFIG1_X_WT_EN_EN ((uint8_t)0x04) 1561 #define FXLS896x_SDCD_CONFIG1_Y_WT_EN_DIS ((uint8_t)0x00) 1563 #define FXLS896x_SDCD_CONFIG1_Y_WT_EN_EN ((uint8_t)0x02) 1565 #define FXLS896x_SDCD_CONFIG1_Z_WT_EN_DIS ((uint8_t)0x00) 1567 #define FXLS896x_SDCD_CONFIG1_Z_WT_EN_EN ((uint8_t)0x01) 1602 #define FXLS896x_SDCD_CONFIG2_REF_UPD_MASK ((uint8_t)0x01) 1603 #define FXLS896x_SDCD_CONFIG2_REF_UPD_SHIFT ((uint8_t)0) 1605 #define FXLS896x_SDCD_CONFIG2_MODE_MASK ((uint8_t)0x02) 1606 #define FXLS896x_SDCD_CONFIG2_MODE_SHIFT ((uint8_t)1) 1608 #define FXLS896x_SDCD_CONFIG2_WT_LOG_SEL_MASK ((uint8_t)0x04) 1609 #define FXLS896x_SDCD_CONFIG2_WT_LOG_SEL_SHIFT ((uint8_t)2) 1611 #define FXLS896x_SDCD_CONFIG2_WT_DBCTM_MASK ((uint8_t)0x08) 1612 #define FXLS896x_SDCD_CONFIG2_WT_DBCTM_SHIFT ((uint8_t)3) 1614 #define FXLS896x_SDCD_CONFIG2_OT_DBCTM_MASK ((uint8_t)0x10) 1615 #define FXLS896x_SDCD_CONFIG2_OT_DBCTM_SHIFT ((uint8_t)4) 1617 #define FXLS896x_SDCD_CONFIG2_REF_UPDM_MASK ((uint8_t)0x60) 1618 #define FXLS896x_SDCD_CONFIG2_REF_UPDM_SHIFT ((uint8_t)5) 1620 #define FXLS896x_SDCD_CONFIG2_SDCD_EN_MASK ((uint8_t)0x80) 1621 #define FXLS896x_SDCD_CONFIG2_SDCD_EN_SHIFT ((uint8_t)7) 1626 #define FXLS896x_SDCD_CONFIG2_SDCD_EN_DIS ((uint8_t)0x00) 1627 #define FXLS896x_SDCD_CONFIG2_SDCD_EN_EN ((uint8_t)0x80) 1628 #define FXLS896x_SDCD_CONFIG2_REF_UPDM_12_BIT ((uint8_t)0x00) 1630 #define FXLS896x_SDCD_CONFIG2_REF_UPDM_FIRST ((uint8_t)0x20) 1632 #define FXLS896x_SDCD_CONFIG2_REF_UPDM_SDCD_REF ((uint8_t)0x40) 1636 #define FXLS896x_SDCD_CONFIG2_REF_UPDM_FIXED_VAL ((uint8_t)0x60) 1638 #define FXLS896x_SDCD_CONFIG2_OT_DBCTM_DECREMENT ((uint8_t)0x00) 1641 #define FXLS896x_SDCD_CONFIG2_OT_DBCTM_CLEARED ((uint8_t)0x10) 1644 #define FXLS896x_SDCD_CONFIG2_WT_DBCTM_DECREMENT ((uint8_t)0x00) 1647 #define FXLS896x_SDCD_CONFIG2_WT_DBCTM_CLEARED ((uint8_t)0x08) 1650 #define FXLS896x_SDCD_CONFIG2_WT_LOG_SEL_AND ((uint8_t)0x00) 1652 #define FXLS896x_SDCD_CONFIG2_WT_LOG_SEL_OR ((uint8_t)0x04) 1654 #define FXLS896x_SDCD_CONFIG2_MODE_XYZ ((uint8_t)0x00) 1656 #define FXLS896x_SDCD_CONFIG2_MODE_VECM ((uint8_t)0x02) 1658 #define FXLS896x_SDCD_CONFIG2_REF_UPD_NO_PENDING \ 1662 #define FXLS896x_SDCD_CONFIG2_REF_UPD_SYNC_UPDATE ((uint8_t)0x01) 1734 #define FXLS896x_SELF_TEST_CONFIG1_ST_IDLE_MASK ((uint8_t)0x1f) 1735 #define FXLS896x_SELF_TEST_CONFIG1_ST_IDLE_SHIFT ((uint8_t)0) 1757 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_MASK ((uint8_t)0x0f) 1758 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_SHIFT ((uint8_t)0) 1763 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_1 ((uint8_t)0x00) 1764 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_2 ((uint8_t)0x01) 1765 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_4 ((uint8_t)0x02) 1766 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_8 ((uint8_t)0x03) 1767 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_16 ((uint8_t)0x04) 1768 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_32 ((uint8_t)0x05) 1769 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_64 ((uint8_t)0x06) 1770 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_128 ((uint8_t)0x07) 1771 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_256 ((uint8_t)0x08) 1772 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_512 ((uint8_t)0x09) 1773 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_1024 ((uint8_t)0x0a) 1774 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_2048 ((uint8_t)0x0b) 1775 #define FXLS896x_SELF_TEST_CONFIG2_ST_DEC_4096 ((uint8_t)0x0c)
uint8_t FXLS896x_TEMP_OUT_t
uint8_t FXLS896x_SDCD_OT_DBCNT_t
uint8_t FXLS896x_BUF_Y_MSB_t
uint8_t FXLS896x_OUT_Y_LSB_t
uint8_t FXLS896x_BUF_X_MSB_t
uint8_t FXLS896x_ORIENT_DBCOUNT_t
uint8_t FXLS896x_WAKE_IDLE_LSB_t
uint8_t FXLS896x_OUT_X_MSB_t
uint8_t FXLS896x_SLEEP_IDLE_LSB_t
uint8_t FXLS896x_ASLP_COUNT_MSB_t
uint8_t FXLS896x_BUF_Z_LSB_t
uint8_t FXLS896x_SLEEP_IDLE_MSB_t
uint8_t FXLS896x_VECM_LSB_t
uint8_t FXLS896x_OUT_Y_MSB_t
uint8_t FXLS896x_VECM_MSB_t
uint8_t FXLS896x_SDCD_LTHS_MSB_t
uint8_t FXLS896x_BUF_Z_MSB_t
uint8_t FXLS896x_OUT_Z_MSB_t
uint8_t FXLS896x_OUT_Z_LSB_t
uint8_t FXLS896x_ASLP_COUNT_LSB_t
uint8_t FXLS896x_WHO_AM_I_t
uint8_t FXLS896x_SDCD_WT_DBCNT_t
uint8_t FXLS896x_SDCD_UTHS_MSB_t
uint8_t FXLS896x_BUF_Y_LSB_t
uint8_t FXLS896x_OUT_X_LSB_t
uint8_t FXLS896x_BUF_X_LSB_t
uint8_t FXLS896x_SDCD_UTHS_LSB_t
uint8_t FXLS896x_WAKE_IDLE_MSB_t
uint8_t FXLS896x_SDCD_LTHS_LSB_t